<template>
    <div>
        <van-nav-bar
            title="注册"
            left-text="返回"
            left-arrow
            @click-left="onClickLeft"
            />
        <div class="content">
            <router-view />
        </div>
    </div>
</template>

<script>

import Vue from 'vue'
import { NavBar } from 'vant'

Vue.use(NavBar)

export default {
  methods: {
    onClickLeft () {
      this.$router.go(-1)
    //   console.log(6)
    }
  }
}
</script>

<style>
    .content{
        margin-top:5px;
    }
    .content .btn[data-v-722f05df]{
        margin-top:0;
    }
</style>
